<?php
header('Access-Control-Allow-Origin:*');
include_once '../library/config.php';
include_once '../model/shop.php';
$list = new Shop();
$list->select()->where("id=?", array($_GET['id']))->get_first_rows();
echo  $list->toJson();
